package com.github.abel533.postprocessor.instantiation;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liuzh
 */
@Configuration
public class CircleConfig {

//    @Bean
//    public User user(){
//        return new User(userExt());
//    }

//
//    @Bean
//    public UserExt userExt(){
//        return new UserExt(user());
//    }

    @Bean
    public User user(){
        return new User();
    }

    @Bean
    public UserExt userExt(){
        return new UserExt();
    }

}
